<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %> 
<%@page import="com.solution.common.config.PublicConfig"%>
<%@page import="com.solution.admin.home.constants.IndexConstants"%>
<%
	String basePath = PublicConfig.ROOT_PATH;
	String imgRootURL = PublicConfig.IMG_ROOT_URL;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>首页</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta content="zh-cn" http-equiv="content-language" />
<meta content="" name="copyright" />

<link rel="stylesheet" type="text/css" href="<%=basePath %>/statics/css/browse.css" />
<script src="<%=basePath %>/statics/js/jquery.1.11.3.min.js"></script>
<script>
$(function(){
	var userAgent = window.navigator.userAgent; 
	//IE浏览器内核
	if (userAgent.indexOf('NET') != -1 ) {
		var version = IEVersion(); 
		if (version != -1 && version < 10) {
			$('#browser_ie').show();
		}
	}
	$('#browser_ie .close_i a').click(function(){$('#browser_ie').slideToggle();});
});


function IEVersion() {
	var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串  
	var isIE = userAgent.indexOf("compatible") > -1
			&& userAgent.indexOf("MSIE") > -1; //判断是否IE<11浏览器  
	var isEdge = userAgent.indexOf("Edge") > -1 && !isIE; //判断是否IE的Edge浏览器  
	var isIE11 = userAgent.indexOf('Trident') > -1
			&& userAgent.indexOf("rv:11.0") > -1;
	if (isIE) {
		var reIE = new RegExp("MSIE (\\d+\\.\\d+);");
		reIE.test(userAgent);
		var fIEVersion = parseFloat(RegExp["$1"]);
		if (fIEVersion == 7) {
			return 7;
		} else if (fIEVersion == 8) {
			return 8;
		} else if (fIEVersion == 9) {
			return 9;
		} else if (fIEVersion == 10) {
			return 10;
		} else {
			return 6;//IE版本<=7
		}
	} else if (isEdge) {
		return 'edge';//edge
	} else if (isIE11) {
		return 11; //IE11  
	} else {
		return -1;//不是ie浏览器
	}
}
</script>
</head>
<body>
	<div id="browser_ie" style="display:none;">
		<div class="brower_info">
			<div class="notice_info">
				<P>
					您的当前系统IE内核版本过低，可能导致网站不能正常访问！为了您能正常使用网站功能，请升级IE至较新版本。如果您的浏览器为双核，也可以切换到极速模式进行使用。或者请使用这些浏览器。
				</P>
			</div>
			<div class="browser_list">
				<SPAN> 
					<A href="http://www.google.cn/chrome/browser/desktop/index.html" target="_blank"> 
						<IMG src="<%=basePath %>/statics/images/Chrome.png"><BR>Chrome
					</A>
				</SPAN> 
				<SPAN>
					<A href="http://www.firefox.com.cn/" target="_blank">
						<IMG src="<%=basePath %>/statics/images/Firefox.png"><BR>Firefox 
					</A>
				</SPAN> 
				<SPAN>
					<A href="https://www.apple.com/cn/safari/" target="_blank">
						<IMG src="<%=basePath %>/statics/images/Safari.png"><BR>Safari 
					</A>
				</SPAN> 
				<SPAN>
					<A href="https://support.microsoft.com/zh-cn/help/17621/internet-explorer-downloads" target="_blank">
						<IMG src="<%=basePath %>/statics/images/IE.png"><BR>IE10及以上
					</A>
				</SPAN>
			</div>
			<div class="close_i" >
				<a href="javascript:;">关闭</a>
			</div>
		</div>
	</div>
</body>
<html>
